-
-
Notifications
You must be signed in to change notification settings - Fork 4k
refactor(brokers): re-design API to make groups a constructor option #10297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10297 +/- ##
===========================================
- Coverage 95.89% 64.36% -31.54%
===========================================
Files 44 4 -40
Lines 3634 463 -3171
Branches 111 5 -106
===========================================
- Hits 3485 298 -3187
- Misses 149 165 +16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! I haven't had the time.
Removed `removeAllListeners` from destroy
Please describe the changes this PR makes and why it should be merged:
A small fixA complete refactor to address the issue described in #10273 where the broker keeps pooling even when there's no subscribed events causing aRedis
ReplyError
.This PR fixes this by stop pooling when there's no subscriptions and adds a cleanup to the event emitter listeners on the destroy as discussed in #10273
Please move lines that apply to you out of the comment: